Skip to main content

Go API client for estuary_client

This is the API for the Estuary application.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.0
  • Package version: 1.0.6
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen For more information, please visit https://docs.estuary.tech/feedback

Installation

Put the package under your project folder and add the following in import:

import "./estuary_client"

Documentation for API Endpoints

All URIs are relative to //api.estuary.tech/

ClassMethodHTTP requestDescription
AdminApiAdminMinersGetGet /admin/miners/Get all miners
AdminApiAdminPeeringPeersDeleteDelete /admin/peering/peersRemove peers on Peering Service
AdminApiAdminPeeringPeersGetGet /admin/peering/peersList all Peering peers
AdminApiAdminPeeringPeersPostPost /admin/peering/peersAdd peers on Peering Service
AdminApiAdminPeeringStartPostPost /admin/peering/startStart Peering
AdminApiAdminPeeringStatusGetGet /admin/peering/statusCheck Peering Status
AdminApiAdminPeeringStopPostPost /admin/peering/stopStop Peering
AdminApiAdminSystemConfigGetGet /admin/system/configGet systems(estuary/shuttle) config
AdminApiAdminUsersGetGet /admin/usersGet all users
AutoretrieveApiAdminAutoretrieveInitPostPost /admin/autoretrieve/initRegister autoretrieve server
AutoretrieveApiAdminAutoretrieveListGetGet /admin/autoretrieve/listList autoretrieve servers
AutoretrieveApiAutoretrieveHeartbeatPostPost /autoretrieve/heartbeatMarks autoretrieve server as up
CollectionsApiCollectionsColuuidCommitPostPost /collections/{coluuid}/commitProduce a CID of the collection contents
CollectionsApiCollectionsColuuidContentsDeleteDelete /collections/{coluuid}/contentsDeletes a content from a collection
CollectionsApiCollectionsColuuidDeleteDelete /collections/{coluuid}Deletes a collection
CollectionsApiCollectionsColuuidGetGet /collections/{coluuid}Get contents in a collection
CollectionsApiCollectionsColuuidPostPost /collections/{coluuid}Add contents to a collection
CollectionsApiCollectionsFsAddPostPost /collections/fs/addAdd a file to a collection
CollectionsApiCollectionsGetGet /collections/List all collections
CollectionsApiCollectionsPostPost /collections/Create a new collection
ContentApiAdminInvitesCodePostPost /admin/invites/{code}Create an Estuary invite
ContentApiAdminInvitesGetGet /admin/invitesGet Estuary invites
ContentApiContentAddCarPostPost /content/add-carAdd Car object
ContentApiContentAddIpfsPostPost /content/add-ipfsAdd IPFS object
ContentApiContentAddPostPost /content/addAdd new content
ContentApiContentAggregatedContentGetGet /content/aggregated/{content}Get aggregated content stats
ContentApiContentAllDealsGetGet /content/all-dealsGet all deals for a user
ContentApiContentBwUsageContentGetGet /content/bw-usage/{content}Get content bandwidth
ContentApiContentContentsGetGet /content/contentsGet user contents
ContentApiContentCreatePostPost /content/createAdd a new content
ContentApiContentDealsGetGet /content/dealsContent with deals
ContentApiContentEnsureReplicationDatacidGetGet /content/ensure-replication/{datacid}Ensure Replication
ContentApiContentFailuresContentGetGet /content/failures/{content}List all failures for a content
ContentApiContentIdGetGet /content/{id}Content
ContentApiContentListGetGet /content/listList all pinned content
ContentApiContentStagingZonesGetGet /content/staging-zonesGet staging zone for user, excluding its contents
ContentApiContentStagingZonesStagingZoneContentsGetGet /content/staging-zones/{staging_zone}/contentsGet contents for a staging zone
ContentApiContentStagingZonesStagingZoneGetGet /content/staging-zones/{staging_zone}Get staging zone without its contents field populated
ContentApiContentStatsGetGet /content/statsGet content statistics
ContentApiContentStatusIdGetGet /content/status/{id}Content Status
DealsApiDealEstimatePostPost /deal/estimateEstimate the cost of a deal
DealsApiDealInfoDealidGetGet /deal/info/{dealid}Get Deal Info
DealsApiDealProposalPropcidGetGet /deal/proposal/{propcid}Get Proposal
DealsApiDealQueryMinerGetGet /deal/query/{miner}Query Ask
DealsApiDealStatusByProposalPropcidGetGet /deal/status-by-proposal/{propcid}Get Deal Status by PropCid
DealsApiDealStatusMinerPropcidGetGet /deal/status/{miner}/{propcid}Deal Status
DealsApiDealTransferInProgressGetGet /deal/transfer/in-progressTransfer In Progress
DealsApiDealTransferStatusPostPost /deal/transfer/statusTransfer Status
DealsApiDealsFailuresGetGet /deals/failuresGet storage failures for user
DealsApiDealsMakeMinerPostPost /deals/make/{miner}Make Deal
DealsApiDealsStatusDealGetGet /deals/status/{deal}Get Deal Status
DealsApiPublicDealsFailuresGetGet /public/deals/failuresGet storage failures
DealsApiPublicMinersStorageQueryMinerGetGet /public/miners/storage/query/{miner}Query Ask
DefaultApiViewerGetGet /viewerFetch viewer details
MetricsApiPublicMetricsDealsOnChainGetGet /public/metrics/deals-on-chainGet deal metrics
MinerApiMinerClaimMinerGetGet /miner/claim/{miner}Get Claim Miner Message
MinerApiMinerClaimPostPost /miner/claimClaim Miner
MinerApiMinerSetInfoMinerPutPut /miner/set-info/{miner}Set Miner Info
MinerApiMinerSuspendMinerPostPost /miner/suspend/{miner}Suspend Miner
MinerApiMinerUnsuspendMinerPutPut /miner/unsuspend/{miner}Unuspend Miner
MinerApiPublicMinersDealsMinerGetGet /public/miners/deals/{miner}Get all miners deals
MinerApiPublicMinersStatsMinerGetGet /public/miners/stats/{miner}Get miner stats
NetApiAdminMinersGetGet /admin/miners/Get all miners
NetApiPublicMinersFailuresMinerGetGet /public/miners/failures/{miner}Get all miners
NetApiPublicNetAddrsGetGet /public/net/addrsNet Addrs
NetApiPublicNetPeersGetGet /public/net/peersNet Peers
PinningApiPinningPinsGetGet /pinning/pinsList all pin status objects
PinningApiPinningPinsPinidDeleteDelete /pinning/pins/{pinid}Delete a pinned object
PinningApiPinningPinsPinidGetGet /pinning/pins/{pinid}Get a pin status object
PinningApiPinningPinsPinidPostPost /pinning/pins/{pinid}Replace a pinned object
PinningApiPinningPinsPostPost /pinning/pinsAdd and pin object
PublicApiGetCidGetGet /get/{cid}Get Full Content by Cid
PublicApiPublicByCidCidGetGet /public/by-cid/{cid}Get Content by Cid
PublicApiPublicInfoGetGet /public/infoGet public node info
PublicApiPublicMetricsDealsOnChainGetGet /public/metrics/deals-on-chainGet deal metrics
PublicApiPublicMinersDealsMinerGetGet /public/miners/deals/{miner}Get all miners deals
PublicApiPublicMinersFailuresMinerGetGet /public/miners/failures/{miner}Get all miners
PublicApiPublicMinersStatsMinerGetGet /public/miners/stats/{miner}Get miner stats
PublicApiPublicNetAddrsGetGet /public/net/addrsNet Addrs
PublicApiPublicNetPeersGetGet /public/net/peersNet Peers
PublicApiPublicStatsGetGet /public/statsPublic stats
UserApiUserApiKeysGetGet /user/api-keysGet API keys for a user
UserApiUserApiKeysKeyOrHashDeleteDelete /user/api-keys/{key_or_hash}Revoke a User API Key.
UserApiUserApiKeysPostPost /user/api-keysCreate API keys for a user
UserApiUserExportGetGet /user/exportExport user data
UserApiUserStatsGetGet /user/statsGet stats for the current user

Documentation For Models

Documentation For Authorization

bearerAuth

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author